package GUI;

import java.awt.*;
import javax.swing.*;

/**
 * this class creates instance of EditRequestGui	
 * to display when needed
 * @author Aviat
 *
 */
public class EditRequestGui extends JPanel {
	
	private static final long serialVersionUID = 1L;
	private JButton btnDetermine;
	private JButton btnFrozenRequest;
	private JButton btnExtentionRequestManagment;
	private JButton btnDetermineStageDuration;
	private JButton btnCloseStageButt;
	private JButton btnCancel;
	/**
	 * the constructor
	 */
	public EditRequestGui() {
		super();
		setLayout(null);
		btnDetermine = new JButton("Determine stage manager");
		btnFrozenRequest = new JButton("Frozen request");
		btnExtentionRequestManagment = new JButton("Extention request managment");
		btnDetermineStageDuration = new JButton("Determine stage duration");
		btnCloseStageButt=new JButton("Close stage");
		btnCancel = new JButton("Cancel");
		initialize();
	}
	/**
	 * This method initializes EditRequestGui	
	 */
	public void initialize(){
		
		JLabel lblNewLabel = new JLabel("Edit Request Window");
		lblNewLabel.setBounds(104, 28, 202, 40);
		lblNewLabel.setForeground(Color.BLUE);
		lblNewLabel.setFont(new Font("Arial", Font.BOLD, 17));
		add(lblNewLabel);
		
		btnDetermine.setFont(new Font("Arial", Font.BOLD, 12));
		btnDetermine.setBounds(86, 85, 220, 40);
		add(btnDetermine);
		
		btnFrozenRequest.setFont(new Font("Arial", Font.BOLD, 12));
		btnFrozenRequest.setBounds(86, 151, 220, 40);
		add(btnFrozenRequest);
		
		btnExtentionRequestManagment.setFont(new Font("Arial", Font.BOLD, 12));
		btnExtentionRequestManagment.setBounds(86, 214, 220, 40);
		add(btnExtentionRequestManagment);
		
	
		btnDetermineStageDuration.setFont(new Font("Arial", Font.BOLD, 12));
		btnDetermineStageDuration.setBounds(86, 271, 220, 40);
		add(btnDetermineStageDuration);
		
		btnCloseStageButt.setFont(new Font("Arial", Font.BOLD, 12));
		btnCloseStageButt.setBounds(86, 329, 220, 40);
		add(btnCloseStageButt);
		
		btnCancel.setFont(new Font("Arial", Font.BOLD, 12));
		btnCancel.setBounds(10, 380, 91, 23);
		add(btnCancel);
		
	}
	/**
	 * 
	 * @return the determine manager button
	 */
	public JButton getStagemanButt(){
		return btnDetermine;		
	}
	/**
	 * 
	 * @return the freeze request button
	 */
	public JButton getFrozenReqButt(){
		return btnFrozenRequest;		
	}
	/**
	 * 
	 * @return the extension request management button 
	 */
	public JButton getExtentionReqManagButt(){
		return btnExtentionRequestManagment;		
	}
	/**
	 * 
	 * @return determine stage duration button
	 */
	public JButton getDetermineStageDurationButt(){
		return btnDetermineStageDuration;		
	}
	/**
	 * 
	 * @return the close stage button
	 */
	public JButton getbtnCloseStagebButt(){
		return btnCloseStageButt;		
	}
	/**
	 * 
	 * @return  the cancel button 
	 */
	public JButton getCanbButt(){
		return btnCancel;		
	}
	/**
	 * 
	 * @return
	 */
	
}
